Skip to content

GUACAMOLE-2212: Bust translation JSON URLs and clear language cache on login.#1205

Merged
necouchman merged 1 commit into
apache:staging/1.6.1from
eugen-keeper:guacamole-2212-cache-busting
May 14, 2026
Merged

GUACAMOLE-2212: Bust translation JSON URLs and clear language cache on login.#1205
necouchman merged 1 commit into
apache:staging/1.6.1from
eugen-keeper:guacamole-2212-cache-busting

Conversation

@eugen-keeper

Copy link
Copy Markdown
Contributor
  • Append ?b=<build> to translations/<lang>.json when <meta name="build"> is present so browsers and intermediaries do not reuse an old JSON object for the same path after a release.
  • On successful login, clear cacheService.languages before $translate.refresh() so Angular’s in-memory language cache cannot keep an outdated translation table across sessions in the same tab.

@eugen-keeper eugen-keeper marked this pull request as draft April 28, 2026 20:32
@eugen-keeper eugen-keeper marked this pull request as ready for review May 12, 2026 14:31
@necouchman necouchman merged commit 0c56c9e into apache:staging/1.6.1 May 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants